package git.bankview.sl;

/**
 * <p>Title: GIT Bankview ϵͳ³£</p>
 * <p>Description: ϵͳ³£</p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: GIT</p>
 *
 * @author BJ/L.Shuang
 * @version 1.0
 */
public abstract class Globals
{
	public static final String PROP_ROWNO = "git.property.rows";
	public static final String PROP_LAYER = "git.property.layers";

	public static final int DQ_CONDITION_MAX = 8;
	public static final int DQ_FIELD_MAX = 32;

	public static final int FIELD_TYPE_INVISIBLE = -1;
	public static final int FIELD_TYPE_TEXT = 0;
	public static final int FIELD_TYPE_INTEGER = 1;
	public static final int FIELD_TYPE_DECIMAL = 2;
	public static final int FIELD_TYPE_DATE = 3;

	public static final int STAT_TYPE_LABEL = 0;
	public static final int STAT_TYPE_GROUP = 1;
	public static final int STAT_TYPE_SUM = 2;
	public static final int STAT_TYPE_AVG = 3;
	public static final int STAT_TYPE_DRILL = 4;
	public static final int STAT_TYPE_EXPR = 5;
	public static final int STAT_TYPE_PERC = 6;

	public static final int OPT_AUTO = 0;
	public static final int OPT_EQU = 1;
	public static final int OPT_GT = 2;
	public static final int OPT_GTE = 3;
	public static final int OPT_LT = 4;
	public static final int OPT_LTE = 5;
	public static final int OPT_SET = 6;
	public static final int OPT_USR = 9;
	
	public static final String SYMBOL_NaN = "- -";
	public static final String SYMBOL_Null = "";

	public static final String FORMAT_DATE = "yyyy-MM-dd";
	public static final String FORMAT_TIME = "HH:mm:ss";
	public static final String FORMAT_DATETIME = FORMAT_DATE + " " + FORMAT_TIME;
	public static final String FORMAT_DECIMAL = "#,##0.00";
	public static final String FORMAT_INTEGER = "#,##0";

	public static final String DQ_GENERIC_FORM = "GenericForm";
	public static final String DQ_GENERIC_PAGE = "/jsp/dq/GenericForm.jsp";

	public static final String TMP_DIR = "./tmp";

	public static final String CONSOLE_STARTUPTIME = "bankview.console.startuptime";
}
